package com.ykg.mapper;

import com.ykg.pojo.Ship;
import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 *
 * Dao:船
 * Created on 23:07 2021/6/21.
 *
 * @Author: laobian
 * @Description:
 */
@Mapper
@Repository
public interface ShipMapper {
    //根据id查询船的基本信息
    Ship findShipById(Long id);
    //根据船名查找船的id
    Long findShipByName(String name);


}
